export default [
  {
    path: '/setting/advice',
    component: resolve => require(['../views/setting/Advice'], resolve),
    meta: {requiresAuth: true}
  },
  {
    path: '/setting/family',
    component: resolve => require(['../views/setting/Family'], resolve),
    meta: {requiresAuth: true, title: '就诊人管理'}
  },
  {
    path: '/setting/family/add',
    component: resolve => require(['../views/setting/Add'], resolve),
    meta: {requiresAuth: true, title: '就诊人管理'}
  },
  {
    path: '/setting/myexpress',
    component: resolve => require(['../views/setting/MyExpress'], resolve)
  },
  {
    path: '/setting/myexpress/:id',
    component: resolve => require(['../views/setting/MyExpressDetail'], resolve)
  },
  {
    path: '/setting/improve-user-info',
    name: 'ImproveUserInfo',
    component: resolve => require(['../views/setting/ImproveUserInfo'], resolve),
    meta: {title: '个人信息完善'}
  },
  {
    path: '/setting/bind-visitcard',
    name: 'BindVisitcard',
    component: resolve => require(['../views/setting/BindVisitcard'], resolve),
    meta: {title: '身份认证'}
  }
]
